package com.ruoyi.mp.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 公众号消息 对象 mp_message
 * 
 * @author ruoyi
 * @date 2023-11-18
 */
public class MpMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 微信公众号的消息编号 */
    @Excel(name = "微信公众号的消息编号")
    private Long msgId;

    /** 公众号账号的编号 */
    @Excel(name = "公众号账号的编号")
    private Long accountId;

    /** 公众号 appId */
    @Excel(name = "公众号 appId")
    private String appId;

    /** 公众号粉丝的编号 */
    @Excel(name = "公众号粉丝的编号")
    private Long userId;

    /** 公众号粉丝标志 */
    @Excel(name = "公众号粉丝标志")
    private String openid;

    /** 消息类型 */
    @Excel(name = "消息类型")
    private String type;

    /** 消息来源 */
    @Excel(name = "消息来源")
    private Integer sendFrom;

    /** 消息内容 */
    @Excel(name = "消息内容")
    private String content;

    /** 媒体文件 id */
    @Excel(name = "媒体文件 id")
    private String mediaId;

    /** 媒体文件 URL */
    @Excel(name = "媒体文件 URL")
    private String mediaUrl;

    /** 语音识别后文本 */
    @Excel(name = "语音识别后文本")
    private String recognition;

    /** 语音格式 */
    @Excel(name = "语音格式")
    private String format;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 缩略图的媒体 id */
    @Excel(name = "缩略图的媒体 id")
    private String thumbMediaId;

    /** 缩略图的媒体 URL */
    @Excel(name = "缩略图的媒体 URL")
    private String thumbMediaUrl;

    /** 点击图文消息跳转链接 */
    @Excel(name = "点击图文消息跳转链接")
    private String url;

    /** 地理位置维度 */
    @Excel(name = "地理位置维度")
    private Long locationX;

    /** 地理位置经度 */
    @Excel(name = "地理位置经度")
    private Long locationY;

    /** 地图缩放大小 */
    @Excel(name = "地图缩放大小")
    private Long scale;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String label;

    /** 图文消息数组 */
    @Excel(name = "图文消息数组")
    private String articles;

    /** 音乐链接 */
    @Excel(name = "音乐链接")
    private String musicUrl;

    /** 高质量音乐链接 */
    @Excel(name = "高质量音乐链接")
    private String hqMusicUrl;

    /** 事件类型 */
    @Excel(name = "事件类型")
    private String event;

    /** 事件 Key */
    @Excel(name = "事件 Key")
    private String eventKey;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private String deleted;

    /** 租户编号 */
    @Excel(name = "租户编号")
    private Long tenantId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMsgId(Long msgId) 
    {
        this.msgId = msgId;
    }

    public Long getMsgId() 
    {
        return msgId;
    }
    public void setAccountId(Long accountId) 
    {
        this.accountId = accountId;
    }

    public Long getAccountId() 
    {
        return accountId;
    }
    public void setAppId(String appId) 
    {
        this.appId = appId;
    }

    public String getAppId() 
    {
        return appId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setOpenid(String openid) 
    {
        this.openid = openid;
    }

    public String getOpenid() 
    {
        return openid;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setSendFrom(Integer sendFrom) 
    {
        this.sendFrom = sendFrom;
    }

    public Integer getSendFrom() 
    {
        return sendFrom;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setMediaId(String mediaId) 
    {
        this.mediaId = mediaId;
    }

    public String getMediaId() 
    {
        return mediaId;
    }
    public void setMediaUrl(String mediaUrl) 
    {
        this.mediaUrl = mediaUrl;
    }

    public String getMediaUrl() 
    {
        return mediaUrl;
    }
    public void setRecognition(String recognition) 
    {
        this.recognition = recognition;
    }

    public String getRecognition() 
    {
        return recognition;
    }
    public void setFormat(String format) 
    {
        this.format = format;
    }

    public String getFormat() 
    {
        return format;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setThumbMediaId(String thumbMediaId) 
    {
        this.thumbMediaId = thumbMediaId;
    }

    public String getThumbMediaId() 
    {
        return thumbMediaId;
    }
    public void setThumbMediaUrl(String thumbMediaUrl) 
    {
        this.thumbMediaUrl = thumbMediaUrl;
    }

    public String getThumbMediaUrl() 
    {
        return thumbMediaUrl;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setLocationX(Long locationX) 
    {
        this.locationX = locationX;
    }

    public Long getLocationX() 
    {
        return locationX;
    }
    public void setLocationY(Long locationY) 
    {
        this.locationY = locationY;
    }

    public Long getLocationY() 
    {
        return locationY;
    }
    public void setScale(Long scale) 
    {
        this.scale = scale;
    }

    public Long getScale() 
    {
        return scale;
    }
    public void setLabel(String label) 
    {
        this.label = label;
    }

    public String getLabel() 
    {
        return label;
    }
    public void setArticles(String articles) 
    {
        this.articles = articles;
    }

    public String getArticles() 
    {
        return articles;
    }
    public void setMusicUrl(String musicUrl) 
    {
        this.musicUrl = musicUrl;
    }

    public String getMusicUrl() 
    {
        return musicUrl;
    }
    public void setHqMusicUrl(String hqMusicUrl) 
    {
        this.hqMusicUrl = hqMusicUrl;
    }

    public String getHqMusicUrl() 
    {
        return hqMusicUrl;
    }
    public void setEvent(String event) 
    {
        this.event = event;
    }

    public String getEvent() 
    {
        return event;
    }
    public void setEventKey(String eventKey) 
    {
        this.eventKey = eventKey;
    }

    public String getEventKey() 
    {
        return eventKey;
    }
    public void setDeleted(String deleted) 
    {
        this.deleted = deleted;
    }

    public String getDeleted() 
    {
        return deleted;
    }
    public void setTenantId(Long tenantId) 
    {
        this.tenantId = tenantId;
    }

    public Long getTenantId() 
    {
        return tenantId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("msgId", getMsgId())
            .append("accountId", getAccountId())
            .append("appId", getAppId())
            .append("userId", getUserId())
            .append("openid", getOpenid())
            .append("type", getType())
            .append("sendFrom", getSendFrom())
            .append("content", getContent())
            .append("mediaId", getMediaId())
            .append("mediaUrl", getMediaUrl())
            .append("recognition", getRecognition())
            .append("format", getFormat())
            .append("title", getTitle())
            .append("description", getDescription())
            .append("thumbMediaId", getThumbMediaId())
            .append("thumbMediaUrl", getThumbMediaUrl())
            .append("url", getUrl())
            .append("locationX", getLocationX())
            .append("locationY", getLocationY())
            .append("scale", getScale())
            .append("label", getLabel())
            .append("articles", getArticles())
            .append("musicUrl", getMusicUrl())
            .append("hqMusicUrl", getHqMusicUrl())
            .append("event", getEvent())
            .append("eventKey", getEventKey())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleted", getDeleted())
            .append("tenantId", getTenantId())
            .toString();
    }
}
